package com.example.consumer3;

import com.alibaba.cloud.dubbo.annotation.DubboTransported;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <b>TODO . </b>
 *
 * @author yangyl11
 * @version 1.0.0
 * @date 2020/11/26
 * @since JDK 1.8
 */
@FeignClient(value = "provider3")
@DubboTransported
public interface Feign2DubboService {

	@PostMapping("/testRest")
	String testRest(@RequestParam("test") String test);

}
